export interface ChatMessage {
    id: string;
    content: string;
    isBot: boolean;
    timestamp: number;
    status?: 'sending' | 'sent' | 'error';
  }
  
  export interface APIResponse<T> {
    code: number;
    msg: string;
    data: T;
  }
  
  export interface ChatRequest {
    message: string;
    session_id?: string;
  }
  
  export interface ChatResponse {
    reply: string;
    session_id: string;
  }
  